netadmin.Commands = {}

function netadmin.Commands.SetConfigCommand(ply, cmd, args)
	netadmin.Lib.SetConfig(args[1])
end
concommand.Add("netadmin_SetCFG", netadmin.Commands.SetConfigCommand)

function netadmin.Commands.PurgeConfigs()
	gdatabase.Query("TRUNCATE TABLE `config`", netadmin.DB)
end

concommand.Add("netadmin_PurgeConfigs", netadmin.Commands.PurgeConfigs)